package com.woniu.market_stall_web.mapper;

import com.woniu.market_stall_web.entity.StallDetail;
import com.woniu.market_stall_web.vo.StallDetailVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StallDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(StallDetail record);

    StallDetail selectByPrimaryKey(Integer id);

    List<StallDetail> selectAll();

    int updateByPrimaryKey(StallDetail record);

    //查询明细
    List<StallDetailVo> selectDetail(int userId);
}